load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "go_default_library",
    srcs = ["workspace.go"],
    importpath = "github.com/bazelbuild/buildtools/wspace",
    visibility = ["//visibility:public"],
    deps = ["//build:go_default_library"],
)

go_test(
    name = "go_default_test",
    size = "small",
    srcs = ["workspace_test.go"],
    embed = [":go_default_library"],
)
